﻿@model MvcApplication4.Models.tb_Funcionario

@{
    ViewBag.Title = "Deletar Funcionário";
}

<h2>Deletar Funcionário</h2>

<h3>Você tem certeza que vai deletar esse funcionário?</h3>
<fieldset>
    <legend>Deletar Funcionário</legend>

    <div class="display-label">
         @Html.LabelFor(model => model.ID_Funcionario, "ID Funcionário")
    </div>
    <div class="display-field">
        @*@Html.DisplayFor(model => model.ID_Funcionario)*@
        @Html.TextBoxFor(model => model.ID_Funcionario, new { @readonly = "readonly"})
    </div>

    <div class="display-label">
         @Html.LabelFor(model => model.tb_UBS.Nome_UBS, "Nome UBS")
    </div>
    <div class="display-field">
        @*@Html.DisplayFor(model => model.tb_UBS.Nome_UBS)*@
        @Html.TextBoxFor(model => model.tb_UBS.Nome_UBS, new { @readonly = "readonly"})
    </div>

    <div class="display-label">
         @Html.LabelFor(model => model.Nome_Funcionario, "Nome Funcionário")
    </div>
    <div class="display-field">
        @*@Html.DisplayFor(model => model.Nome_Funcionario)*@
        @Html.TextBoxFor(model => model.Nome_Funcionario, new { @readonly = "readonly"})
    </div>

    <div class="display-label">
         @Html.LabelFor(model => model.CPF)
    </div>
    <div class="display-field">
        @*@Html.DisplayFor(model => model.CPF)*@
        @Html.TextBoxFor(model => model.CPF, new { @readonly = "readonly"})
    </div>

    <div class="display-label">
         @Html.LabelFor(model => model.Login_Fun, "Login")
    </div>
    <div class="display-field">
        @*@Html.DisplayFor(model => model.Login_Fun)*@
        @Html.TextBoxFor(model => model.Login_Fun, new { @readonly = "readonly"})
    </div>

    <div class="display-label">
         @Html.LabelFor(model => model.Senha)
    </div>
    <div class="display-field">
        @*@Html.DisplayFor(model => model.Senha)*@
        @Html.TextBoxFor(model => model.Senha,"*************",new { @readonly = "readonly"})
    </div>

    <div class="display-label">
         @Html.LabelFor(model => model.Telefone)
    </div>
    <div class="display-field">
        @*@Html.DisplayFor(model => model.Telefone)*@
        @Html.TextBoxFor(model => model.Telefone, new { @readonly = "readonly"})
    </div>

    <div class="display-label">
         @Html.LabelFor(model => model.Email)
    </div>
    <div class="display-field">
        @*@Html.DisplayFor(model => model.Email)*@
        @Html.TextBoxFor(model => model.Email, new { @readonly = "readonly"})
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Deletar" /> |
        @Html.ActionLink("Voltar", "Index")
    </p>
}
